home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
326-350
/
disk_334
/
whatis
/
whatis.doc.pp
/
whatis.doc
Wrap
Text File
|
1992-05-06
|
12KB
|
348 lines
==============================================================================
WhatIs This File ? V1.2a
© J.Tyberghein Fri Feb 2 21:59:58 1990
==============================================================================
Preface
-------
This utility gives you all useful information it can obtain from the file.
WHATIS recognizes IFF files, object files and executables (hunks),
Aztec object files, crunched data files (with the PowerPacker), archives
like ZOO, ARC and ArcFiles (my own archiver), UUEncoded files, .info files,
Lattice PGTB files and Warp files (disk warper). In addition it will
print all system information for this file.
If you specify a device or directory instead of a file, you get more
system information.
If WHATIS doesn't recognize your file, it will check if the file could
be ASCII.
This program (WHATIS V1.2a) is shareware.
If you like and/or use this utility I would appreciate it very much
if you'd send me a contribution of $10 US ($15 if you want to get a new
update (when one is available)).
Please send money by international money order, EuroCheck (in Belgian
Francs (BF) !) or cash, because it's very difficult for me to cash in
other checks.
If you want an update please state your current version.
If you want to use this program for commercial purposes please write
for permission !
If you have any suggestions or remarks you can write to (Bug reports are
welcome too)
Jorrit Tyberghein
Hepmansbossen 31
3990 Meerhout BELGIUM
WARNING
-------
If you want to use this utility you must have Arp 1.3 or later.
WHATIS is reexecutable so you can use it with ARes, Resident, ...
WHATIS is not reentrable, so you will get a warning from ARes or Resident
if you try to use this program twice at the same time.
There are still some unsupported hunks in object files. These occure in
some new Lattice object files. As soon as I have information about these
new hunks, these shortcomings will be removed.
Changes
-------
New in 1.2:
Support for ATAK,RLSE,VHDR,SHDR,CAMG,CRNG and FONS chunks (for IFF files)
ASCII and DIAG options
Lattice hunk support is better (but not best)
New in 1.2a:
Support for ANHD and CCRT chunks (IFF)
Show preferences information
More information in hunks (BSS and chip)
More information in INS1 chunk (IFF)
Protection bits now show in right order
New IDENT option
Speed optimization
Supported files and features for the current version
----------------------------------------------------
Lattice ProGram TraceBack format (display all available information)
Warp file format (diplay file version number)
UUEncoded files (display name and size)
Zoo (simply state version)
Arc (no further information)
ArcFiles version 1.2 (QuickHelp Archiver) (list files in archive)
.info files (display gadget structure, DiskObject type and coordinates)
Aztec object files (no further information)
Aztec library files (list all functions in library)
Preferences file (display the complete contents of the file)
Hunks (Object files and executables) (list all hunks and display
information for each hunk)
IFF
Supported IFF formats:
ILBM Interleaved BitMap
FTXT Formatted text
PICS QuickDraw picture
SMUS Simple Musical Score
ANIM Cel Animation Form
8SVX 8-bit Sampled Voice
ACBM Amiga Contiguous BitMap
AIFF Apple Audio Samples
ANBM Animated BitMap Form
BANK MIDI system-exclusive data dump
HEAD Idea processor Form
MIDI MIDI Form
PGTB ProGram TraceBack diagnostic dump image (not really IFF)
SYTH SoundQuest Master Librarian format for MIDI
WORD Word processing form used by ProWrite
PDEF Deluxe Print page definition
RGB4 4 bit RGB pixel information
SHAK Used by Shakespeare (private)
VDEO Used by Deluxe Video
SAMP Sound Sample Form
TDDD Used by Turbo Silver (ray tracing)
SC3D Used by Sculpt-3D
TEXT Plain unformatted ASCII text
FNTR Raster font
FNTV Vector font
GSCR General-use musical score
USCR Uhuru Sound Software musical score
UVOX Uhuru Sound Software Macintosh voice
other IFF formats will simply appear on the screen without further
information (except for the listing of the chunks in the IFF file)
Supported IFF chunks:
LIST
CAT
CMAP (ILBM) ColorMap
CRNG (ILBM) ColorRange cycling chunk (used by DeluxePaint)
CCRT (ILBM) Cycling chunk (use by Graphicraft)
GRAB (ILBM) For sprites or brushes
CAMG (ILBM) ViewModes for Amiga computers
BMHD (ILBM) BitMapHeader
DEST (ILBM) Destination chunk
ANHD (ANIM) Animation Header
FONS (FTXT) FontSpecifier
VHDR (8SVX) Voice8Header
ATAK (8SVX) Used to modulate sound
RLSE (8SVX) Used to modulate sound
SHDR (SMUS) SScoreHeader
INS1 (SMUS) Musical instrument
NAME (SMUS) Name of the score
(c) (SMUS) Copyright message
AUTH (SMUS) Author of score
ANNO (SMUS) Text annotations of score
other chunks will simply appear on the screen without further
information
Syntax
------
+----------------------------------------------------------------------+
| Commandline template: |
| File/a,S=SHORT/s,M=MEDIUM/s,F=FULL/s,D=DIAG/s,I=IDENT/s,A=ASCII/k: |
|----------------------------------------------------------------------|
| Usage: |
| WhatIs <File> [SHORT | MEDIUM | FULL | DIAG | IDENT | ASCII <len>] |
+----------------------------------------------------------------------+
File : You want info about a File or a device
SHORT : Standard file info
MEDIUM : SHORT and identification info (default)
FULL : MEDIUM and diagnostic info
DIAG : Show only diagnostic info
Diagnostic usage is divided into resource usage and
byte count usage. Resource usage shows the libraries, devices,
resources and fonts the program uses. This feature is only
meaningfull if the file is an executable, an object file or
a source file. There is no resource usage if identification is
enabled and the file is not an executable or object file.
Byte count usage shows the number of ascii characters (carriage
return, tab and form feed included), the number of non ascii
characters (between 127 and 255), the number of control codes
(between 0 and 31) and the number of lines.
IDENT : Show only identification info
If you enable this option, WHATIS will try to recognize your
file. If it succeeds WHATIS will give you as much information
as possible. Otherwise WHATIS will tell you how likely it is
that this file is ascii.
If <File> is a device you will get some more information about
this device.
ASCII : Dump ascii in file
Len : Minimum linelength for ASCII dump
examples
--------
WhatIs KingTut (KingTut is a graphic image)
you will get the following output (or something equivalent):
| FileInfoBlock:
| File : KingTut
| DirEntryType : -3
| Protect : rwed
| Size : 25728 NumBlocks : 51
| Last changed : 15-Oct-89 10:54:52 (Sunday)
| Comment :
|
| IFF file
| FORM ILBM (25720 data bytes)
| Interleaved BitMap
| BMHD
| width : 320 height : 200
| x : 0 y : 0
| nPlanes : 5 Masking : 0
| xAspect : 10 yAspect : 11
| PageWid : 320 PageHei : 200
| Compression : 1
| transparent color : 0
| CMAP (96 bytes)
| DPPS
| CRNG
| Rate : 0 Flags : RNG_ACTIVE
| Low : 20 High : 31
| CRNG
| Rate : 2730 Flags : RNG_ACTIVE
| Low : 3 High : 7
| CRNG
| Rate : 2730 Flags : RNG_ACTIVE
| Low : 0 High : 0
| CRNG
| Rate : 2730 Flags : RNG_ACTIVE
| Low : 0 High : 0
| BODY
WhatIs file.c s
you get only the basic information
| FileInfoBlock:
| File : file.c
| DirEntryType : -3
| Protect : rwed
| Size : 146 NumBlocks : 1
| Last changed : 17-Dec-89 20:37:04 (Sunday)
| Comment : This is an example file
WhatIs ram:
| FileInfoBlock:
| Directory : RAM DISK
| DirEntryType : 2
| Protect : rwed
| Size : 0 NumBlocks : 1
| Last changed : 18-Dec-89 17:29:22 (Monday)
| Comment :
|
| InfoData:
| UnitNumber : -1
| NumSoftErrors : 0
| NumBlocks : 3 NumBlocksUsed : 3
| BytesPerBlock : 488
| Disk is validated
| Dos disk
| Disk in use
|
| DeviceList:
| Volume
| Creation date : 01-Jan-78 00:00:61 (Sunday)
| DiskType : 444F5300
WhatIs c:WhatIs f
Give full information
| FileInfoBlock:
| File : WhatIs
| DirEntryType : -3
| Protect : rwed
| Size : 14940 NumBlocks : 30
| Last changed : 17-Dec-89 17:07:02 (Sunday)
| Comment : © J.Tyberghein
|
| Executable file
| Hunk 0 : header
| Resident libraries:
| Table size : 2
| First Hunk : 0
| Last Hunk : 1
| code (14568 bytes)
| reloc32 (1 entries)
| end
| Hunk 1 : data (160 bytes) (0 bss)
| reloc32 (2 entries)
| end
|
| Diagnostic research...
| Resource usage:
| arp.library
| dos.library
| Byte count:
| 8705 normal characters (58 %)
| 2691 non ascii characters (18 %)
| 3455 control codes ( <32 ) (23 %)
| 164 lines
WhatIs disk.info ident
| .info file version 1
| icon gadget:
| LeftEdge 406, TopEdge 23
| Width 141, Height 74
| Flags GADGHIMAGE, Activation RELVERIFY GADGIMMEDIATE
| GadgetType BOOLGADGET
| DiskObject type WBDISK
| Current X 406 Current Y 23
WhatIs II.smus
| FileInfoBlock:
| File : II.smus
| DirEntryType : -3
| Protect : rwed
| Size : 1456 NumBlocks : 3
| Last changed : 03-Nov-89 15:05:22 (Friday)
| Comment :
|
| IFF file
| FORM SMUS (1448 data bytes)
| Simple Musical Score
| SHDR
| Tempo : 16047
| Volume : 127 ctTrack : 4
| NAME Sphere
| SNX1
| INS1 ( 0) NAME sphere
| INS1 ( 1) NAME human
| INS1 ( 2) NAME SynthiI
| INS1 ( 3) NAME explosion
| INS1 ( 4) NAME no
| INS1 ( 5) NAME EffectII
| INS1 ( 6) NAME synthiII
| INS1 ( 7) NAME BassdrumI
| INS1 ( 8) NAME SphereI
| TRAK
| TRAK
| TRAK
| TRAK
Whatis c:avail a 8
Show all ascii lines with length greater than 8 and the offsets
in the file.
| Ascii listing:
| 00000064: PONudos.library
| 00000074: you need arp.library
| 000001E6: NuUsage: Avail [CHIP|FAST] [TOTAL] [FLUSH]
| 00000211: CHIP/s,FAST/s,TOTAL/s,FLUSH/s
| 0000022F: Avail: %s
| 0000023A: Type Available In-Use Maximum Largest
| 00000268: %s %9ld %9ld %9ld %9ld
==============================================================================
End of WHATIS 1.2a document
==============================================================================